package com.blb.zycommunity.service;

import com.blb.zycommunity.entity.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface ISysDeptService extends IService<SysDept> {

    List<SysDept> findDeptWithChildren();

   //级联查询所有
   List<SysDept> selectAll();

   //模糊查询
    List<SysDept>selectByName(String deptName,Long status);


}
